package common

import (
	"github.com/gin-gonic/gin"
	"mallgo/logger"
)

func Auth(handle func(ctx *gin.Context)) gin.HandlerFunc {
	return func(c *gin.Context) {
		logger.Info("测试过滤器")
		handle(c)
	}
}
